<template>
    <div>
        <div class="col-md-2 col-sm-12">
            <nav class="navbar navbar-default">
                <div class="container-fluid">
                    <ul class="nav nav-stacked">
                        <!-- Links are to sibling routes -->
                        <li><router-link to="/admin">浏览所有产品</router-link></li>
                        <li><router-link to="/admin/new">输入新的产品</router-link></li>
                        
                    </ul>
                </div>
            </nav>
        </div>
        <div class="col-md-10 col-sm-12">
            <router-view></router-view>
        </div>
    </div>
</template>

<script>
	export default {
		name: 'admin',
		data () {
		return {
			msg: 'Welcome to the Admin Page'
		}
		}
	}
</script>

<style>
</style>